import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

//引入组件
import users from "../store/users/index";
// import crumbs from "@/store/crumbs/index.js"

export default new Vuex.Store({
  state: {},
  mutations: {},
  actions: {},
  modules: {
    users
    // crumbs
  }
  /* 定义在users的index文件在modules中激活，而store文件在main中激活，所以这是全局的引用 */
});
